import { Entity, CreateDate, UpdateDate, PrimaryUuid, Uuid } from '@sker/sdk'
@Entity({ name: 'shop_good_option' })
export class ShopGoodOption {

    @PrimaryUuid({
        primaryKeyConstraintName: "PK_SHOP_GOOD_OPTION_ID"
    })
    id!: string;

    good_id!: string;

    title!: string;

    marketprice!: number;

    productprice!: number;

    costprice!: number;

    originalprice!: number;

    stock!: number;

    sales!: number;

    @CreateDate({
        comment: '创建日期'
    })
    create_date!: Date;

    @UpdateDate({
        comment: '更新日期'
    })
    update_date!: Date;
}